package com.hisense.ovcloud.warehouse.entity.matrix;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import com.mybatisflex.core.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@Data(staticConstructor = "model")
@Table("tbl_domain_info")
public class DomainInfo extends Model<DomainInfo> {
    public DomainInfo() {
    }

    @Id(keyType = KeyType.Auto)
    @Column(value = "id")
    private long id;

    @Column(value = "major_domain")
    private String majorDomain;

    @Column(value = "sub_domain")
    private String subDomain;

    @Column(value = "developer_id")
    private long developerId;
}
